package com.ido.babyshow.common;

import java.io.File;

import org.apache.struts2.ServletActionContext;

public interface GlobalConstant
{
    public  final  static int PHOTO_HOME_SIZE=4;
    
    public final static String HOME="home.action";
    
    public final static String UPLOAD_PATH="upload";
    
    public final static String UPLOAD_URL_PREFIX= ServletActionContext.getServletContext().getRealPath(String.valueOf(File.separatorChar))+File.separatorChar+UPLOAD_PATH+File.separatorChar;
    
    public final static String MOTHER_SESSION="sessionMother";
    
    
    /** 加密类型 */
    public final static String ENCRYPT_TYPE = "MD5";
    
    /** 系统字符集*/
    public final static String SYS_CHAR_SET = "UTF-8";
    
    /** URL 路径分隔符*/
    public final static String URL_PATH_SEPA = "/";

}
